# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Sounds Like A Theremin, a soft-theremin to use with jack."
HOMEPAGE="http://dis-dot-dat.net/index.cgi?item=/code/slat/"
SRC_URI="http://dis-dot-dat.net/content/code/slat/${P}.tar.bz2
		oggvorbis? (http://dis-dot-dat.net/content/code/slat/newsamp.ogg)"
LICENSE="GPL-2"
S=${WORKDIR}/${PN}
SLOT="0"
KEYWORDS="~x86"
IUSE="oggvorbis"

DEPEND=">=dev-games/clanlib-0.7.8-r1
	oggvorbis? ( media-libs/libvorbis )"

src_compile() {
	emake || die "make failed."
}
src_install() {
	make DESTDIR="${D}" install || die
	dodoc AUTHORS ChangeLog NEWS README TODO
}
